package top.laoshuzi.designpatterns.base.behavior.mediator;

/**
 * 具体同事B
 */
public class ConcreteColleageB extends Colleage {

    @Override
    public void setValueByAffect(Mediator mediator, int value) {
        setValue(value);
        mediator.affectB2A();
        mediator.affectB2C();
    }
}
